//
//  LoginModel.m
//  jiyujiaProgram
//
//  Created by Jame on 15/11/28.
//  Copyright © 2015年 中良 赵. All rights reserved.
//

#import "TeacherModel.h"

@implementation TeacherModel

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.errCode forKey:@"errCode"];
    [aCoder encodeObject:self.errMsg forKey:@"errMsg"];
    [aCoder encodeObject:self.teachingExperienceListVO forKey:@"teachingExperienceListVO"];
    [aCoder encodeObject:self.teacher_Id forKey:@"teacher_Id"];
    [aCoder encodeObject:self.member_Id forKey:@"member_Id"];
    [aCoder encodeObject:self.specialty forKey:@"specialty"];
    [aCoder encodeObject:self.seniority forKey:@"seniority"];
    [aCoder encodeObject:self.special_programs forKey:@"special_programs"];
    [aCoder encodeObject:self.teaching_skills forKey:@"teaching_skills"];
    [aCoder encodeObject:self.have_lessons_way forKey:@"have_lessons_way"];
    [aCoder encodeObject:self.id_card_imgId forKey:@"id_card_imgId"];
    [aCoder encodeObject:self.id_card_type forKey:@"id_card_type"];
    [aCoder encodeObject:self.real_name forKey:@"real_name"];
    [aCoder encodeObject:self.id_card_no forKey:@"id_card_no"];
    [aCoder encodeObject:self.education_imgId forKey:@"education_imgId"];
    [aCoder encodeObject:self.to_teach_imgId forKey:@"to_teach_imgId"];
    [aCoder encodeObject:self.professional_qualifications_imgId forKey:@"professional_qualifications_imgId"];
    [aCoder encodeObject:self.identity_authentication forKey:@"identity_authentication"];
    [aCoder encodeObject:self.identity_authentication_describe forKey:@"identity_authentication_describe"];
    [aCoder encodeObject:self.education_certification forKey:@"education_certification"];
    [aCoder encodeObject:self.education_certification_describe forKey:@"education_certification_describe"];
    [aCoder encodeObject:self.for_certification forKey:@"for_certification"];
    [aCoder encodeObject:self.for_certification_describe forKey:@"for_certification_describe"];
    [aCoder encodeObject:self.professional_qualifications forKey:@"professional_qualifications"];
    [aCoder encodeObject:self.professional_qualification_describe forKey:@"professional_qualification_describe"];
    [aCoder encodeObject:self.level forKey:@"level"];
    [aCoder encodeObject:self.certificationCount forKey:@"certificationCount"];
    [aCoder encodeObject:self.distance forKey:@"distance"];
    [aCoder encodeObject:self.rockbottom_price forKey:@"rockbottom_price"];
    [aCoder encodeObject:self.score forKey:@"score"];
    [aCoder encodeObject:self.commentsCount forKey:@"commentsCount"];
    [aCoder encodeObject:self.ranking forKey:@"ranking"];
}


- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super init]) {
        self.errCode = [aDecoder decodeObjectForKey:@"errCode"];
        self.errMsg = [aDecoder decodeObjectForKey:@"errMsg"];
        self.teachingExperienceListVO = [aDecoder decodeObjectForKey:@"teachingExperienceListVO"];
        self.teacher_Id = [aDecoder decodeObjectForKey:@"teacher_Id"];
        self.member_Id = [aDecoder decodeObjectForKey:@"member_Id"];
        self.specialty = [aDecoder decodeObjectForKey:@"specialty"];
        self.seniority = [aDecoder decodeObjectForKey:@"seniority"];
        self.special_programs = [aDecoder decodeObjectForKey:@"special_programs"];
        self.teaching_skills = [aDecoder decodeObjectForKey:@"teaching_skills"];
        self.have_lessons_way = [aDecoder decodeObjectForKey:@"have_lessons_way"];
        self.id_card_imgId = [aDecoder decodeObjectForKey:@"id_card_imgId"];
        self.id_card_type = [aDecoder decodeObjectForKey:@"id_card_type"];
        self.real_name = [aDecoder decodeObjectForKey:@"real_name"];
        self.id_card_no = [aDecoder decodeObjectForKey:@"id_card_no"];
        self.education_imgId = [aDecoder decodeObjectForKey:@"education_imgId"];
        self.to_teach_imgId = [aDecoder decodeObjectForKey:@"to_teach_imgId"];
        self.professional_qualifications_imgId = [aDecoder decodeObjectForKey:@"professional_qualifications_imgId"];
        self.identity_authentication = [aDecoder decodeObjectForKey:@"identity_authentication"];
        self.identity_authentication_describe = [aDecoder decodeObjectForKey:@"identity_authentication_describe"];
        self.education_certification = [aDecoder decodeObjectForKey:@"education_certification"];
        self.education_certification_describe = [aDecoder decodeObjectForKey:@"education_certification_describe"];
        self.for_certification = [aDecoder decodeObjectForKey:@"for_certification"];
        self.for_certification_describe = [aDecoder decodeObjectForKey:@"for_certification_describe"];
        self.professional_qualifications = [aDecoder decodeObjectForKey:@"professional_qualifications"];
        self.professional_qualification_describe = [aDecoder decodeObjectForKey:@"professional_qualification_describe"];
        self.level = [aDecoder decodeObjectForKey:@"level"];
        self.certificationCount = [aDecoder decodeObjectForKey:@"certificationCount"];
        self.distance = [aDecoder decodeObjectForKey:@"distance"];
        self.rockbottom_price = [aDecoder decodeObjectForKey:@"rockbottom_price"];
        self.score = [aDecoder decodeObjectForKey:@"score"];
        self.commentsCount = [aDecoder decodeObjectForKey:@"commentsCount"];
        self.ranking = [aDecoder decodeObjectForKey:@"ranking"];
    }
    return self;
}

@end
